﻿using System.ComponentModel.Composition;
using System.Web.Mvc;
using Mefisto4.Logics;

namespace Mefisto4.Areas.Admin.Controllers
{
    [Export]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public class ModuleController : Controller
    {
        public ActionResult Index()
        {
            var modules = M4ModuleLogic.GetAvailableModules();
            return View(modules);
        }
    }
}
